<?php
require_once("../data/common.inc.php");
$char="utf8";
$link=mysqli_connect('127.0.0.1', $cfg_dbuser, $cfg_dbpwd);
mysqli_select_db($link,$cfg_dbname);
mysqli_set_charset($link,$char);
$sql_tab="CREATE TABLE `wzwa_saveimg` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `save` char(200) DEFAULT NULL,
  `savetime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `savetime_int` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
);";
$re_tab=mysqli_query($link,$sql_tab);

var_dump($re_tab);
?>